using Unbound.ValueUnbinders;

namespace Unbound.Tests.Unbinding.TestObjects
{
	public class TestUnbinder : ISpecificValueUnbinder
	{
		public string UnbindValue(object value)
		{
			return ((ComplexType) value).Number.ToString();
		}

		public bool AppropriatelyUnbinds(object value)
		{
			return value is ComplexType;
		}
	}
}